package com.marry.daodao.authserver;

import com.marry.daodao.authserver.ui.security.OAuth2Properties;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;


@EnableDiscoveryClient
@SpringBootApplication
@EnableConfigurationProperties(OAuth2Properties.class)
@MapperScan("com.marry.daodao.authserver.infrastructure.dao.mapper")
public class DaodaoAuthServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(DaodaoAuthServerApplication.class, args);
    }

}
